package com.czwx.bee.base.web.constant;

public class HttpSecurityConstant {

    private static final String[] swagger_ui = {
            // -- swagger ui
            "/webjars/**", "/resources/**",
            "/swagger-ui.html",
            "/swagger-resources/**",
            "/v2/api-docs","/images/**",
            "/swagger",
            "/configuration/ui",
            "/configuration/security"
    };

    public static String[] swagger_ui_matchers() {
       return swagger_ui;
    }


    private static final String[] user_white_list = {
            "/kaptcha/index", //短信验证图片
            "/cloanuser/register",//用户注册
            "/massage/push",  //发送短信
            "/error" , //错误页面
            "/favicon.ico",
            "/login",
            "/register",
            "/add_shop_admin",
            "/add_shop_user"
    };

    public static String[] user_white_list() {
        return user_white_list;
    }
}
